package jsonparser.core.lexer;

/**
 * Created by pendragon on 17-5-18.
 */
public enum  Token {

    /**
     * Undefined
     */
    UD,

    /**
     * EOF.
     */
    EOF,

    /**
     * Beginning of object: {
     */
    BEGIN_OBJECT,

    /**
     * End of object: }
     */
    END_OBJECT,

    /**
     * Beginning of array: [
     */
    BEGIN_ARRAY,

    /**
     * End of array: ]
     */
    END_ARRAY,

    /**
     * Seperator ':'
     */
    SEP_COLON,

    /**
     * Seperator ','
     */
    SEP_COMMA,

    /**
     * String value: "xxx"
     */
    STRING,

    /**
     * Boolean value: true or false.
     */
    BOOLEAN,

    /**
     * Number value: 123.456, 2.5e6 or 2.5E6
     */
    NUMBER,

    /**
     * Null value: null.
     */
    NULL
}
